<?php 
	$this->load->view('header');
	$this->load->view('header_end');
?>
<style type="text/css">
	.other_news ul{margin-left:20px;list-style-type:none;}
	.other_news li{margin-top:5px;}
</style>
<div id="block_menu_banner">
	<?php 
		$this->load->view('part_view/mod_menu'); 
	?>
</div>
<div id="content">
            <div class="clear"></div>
            <div id="content-left">
               <h3 class="title_page" style="border-bottom: 1px dotted #069;margin-bottom: 20px;margin-top: 10px;color:#069;"><?php echo $obj_news['ctitle'] ?></h3>
		<div class="content_detail">
			<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
</div>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-51a011594ff02a19"></script>
<!-- AddThis Button END -->
			<?php echo $obj_news['ccontent'] ?>
			
			<div class="fb-comments" data-href="http://buddha.vn/" data-width="630" data-num-posts="10"></div>
			<?php
				$obj_data	= get_other_news($obj_news['nid'], $obj_news['ddate01'], $obj_news['nid_cat_news']);
				if(count($obj_data) > 0):
			?>
			<div class="other_news" style="margin-top:30px;">
				<h3  style="color:#069;border-bottom:1px solid #069;margin-bottom:20px;"><?php echo 'Các tin khác' ?></h3>
				<ul>
				<?php
					foreach($obj_data as $data):
				?>
					<li><a href="<?php echo base_url().'tin-tuc/'.$data['nid']; ?>"><?php echo '('. Fview_date($data['ddate01']).prefix_li().') '.$data['ctitle'] ?></a></li>
				<?php endforeach; ?>
				</ul>
			</div>
			<?php endif; ?>
		
	</div>

              
            </div>
            <div id="content-right">               
               <?php 
					$this->load->view('part_view/mod_right_index.php'); 
				?>
               
            </div>
            <div class="clear"></div>
         </div>
		 
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<?php 
	$this->load->view('footer');
?>
